//
//  CollectionViewController.swift
//  MyTest
//
//  Created by guanzhongwang on 2021/5/30.
//

import UIKit

class CollectionViewController: UIViewController {
    var collectView : UICollectionView!
    override func viewDidLoad() {
        super.viewDidLoad()

        // Do any additional setup after loading the view.
        collectView = UICollectionView.init(frame: self.view.bounds)
        collectView.delegate = self
        collectView.dataSource = self
        
    }
    
}
extension CollectionViewController:UICollectionViewDelegate{
    
}
extension CollectionViewController:UICollectionViewDataSource{
    func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {
        return 10
    }
    
    func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
        return UICollectionViewCell.init()
    }
    
   
}

